-
Notifications
You must be signed in to change notification settings - Fork 45
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: ESM migration of got-scraping #109
Conversation
src/resolve-protocol.ts
Outdated
@@ -12,7 +12,8 @@ const connect = async (proxyUrl: string, options: tls.ConnectionOptions, callbac | |||
host = `[${options.host}]:${options.port}`; | |||
} | |||
|
|||
(async () => { | |||
// eslint-disable-next-line no-void |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we really need to get rid of the no-void
rule as well
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've mentioned https://github.com/iCrawl/eslint-config-neon before, our eslint rules really need some love and attention 😢
Closes #90
Closes #106
Closes #108
Closes #105
BREAKING CHANGE
This package is now ESM only, as such, it cannot be required from inside a CJS project, use dynamic import instead.